package com.plian.system.service.yth.impl;

import com.alibaba.fastjson.JSON;
import com.plian.system.service.yth.IYthDataTransferService;
import com.plian.system.vo.yth.YthExcelInfoVO;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

@Service
public class YthDataTransferServiceImpl implements IYthDataTransferService {


    @Override
    public String test(String data) {
        return data;
    }

    @Override
    public String excelTest(YthExcelInfoVO ythExcelInfoVO, MultipartFile multipartFile) {
        System.out.println(multipartFile.getOriginalFilename());
        return JSON.toJSONString(ythExcelInfoVO);
    }
}
